package com.example.minato.minastore;

/**
 * 回调信息统一封装类
 * Created by wyz on 2016/7/16.
 */
public class BaseResultEntity<T> {


    private String code;
    private String msg;

    //显示数据（用户需要关心的数据）
    private T data;

    private T result;

    private double balance;

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
